Smart Thread Scheduling is the Key for OLTP
نویسندگان
چکیده
Typical transactions of online transaction processing (OLTP) workloads have large instruction footprints, 128KB-1MB, that cannot fit in existing L1-I caches, 32KB [1]. Extensive capacity misses due to instructions lead to severe under-utilization of modern hardware’s micro-architectural resources [3]. As opposed to the traditional way where a transaction starts and completes its execution on a single core, some recent OLTP designs employ multiple cores to execute a single transaction [1, 2], leading to performance improvements up to 70%. The aggregate size of the caches of several cores creates ample L1-I capacity for the instructions. In addition, the instructions are localized to caches to exploit instruction commonality (∼ 90%) among different and within the same transactions. Spreading transactions to multiple cores, however, creates the need to share the data among multiple caches even for one transaction. In turn, data locality, which is crucial when running on multi-socket multi-cores, is hindered. Most of the data misses happen when some data are accessed for the first time during a transaction; they are compulsory [1] rather than due to capacity. Memory locality combined with modern micro-architectural features can overlap the stalls caused by data misses and be sufficient to achieve high throughput. Overall, one can get the best of both worlds, instruction and shared data locality, by carefully scheduling a transaction within the boundaries of a socket, where the data required by that transaction resides. BODY Instructions need capacity: Use multiple L1-I. Data misses are compulsory: Share within a socket. Thread scheduling is the key for OLTP.
منابع مشابه
Scheduling of Residential Multiclass Appliances in Smart Homes UsingV2H Capability of Electric Vehicle
With the aim of reducing cost of electricity consumption and peak load reduction, tools requirement for better managing electricity consumption have become inevitable in recent years. Smart home has some equipment which are controllable and this ability is used for increasing comfort and minimizing electricity cost for residence. As a key component of smart home , Electric Vehicle(EV) ,increase...
متن کاملQoS Control Based on Query Response Time Prediction
User oriented Quality of Service (QoS) of On-Line Transaction Processing (OLTP) systems (or Data Warehouse (DW)) is determined with a response time, availability, consistency and currency. In this paper we consider the influence of the system load and the system throughput on the response time, as well as a possibility of the accurate response time prediction whereby that mechanism may be a fou...
متن کاملIntegrated Scheduling of Electric Vehicles and Demand Response Programs in a Smart Microgrid
Microgrid (MG) is one of the important blocks in the future smart distribution systems. The scheduling pattern of MGs affects distribution system operation. Also, the optimal scheduling of MGs will be result in reliable and economical operation of distribution system. In this paper, an operational planning model of a MG which considers multiple demand response (DR) programs is proposed. In the ...
متن کاملAn Automatic Source Code Generation Tool for OLTP Database Benchmarks
H-Store [3] is a research OLTP DBMS project being developed in collaboration by MIT, Brown University, Yale University and HP Labs. Based on assumptions that long-running transactions are not needed for highend OLTP applications and OLTP DBMS can do without disks [11] , H-Store has some features that do not exist in current market-leading DMBS products. For example, H-Store is designed without ...
متن کاملStability Improvement of Hydraulic Turbine Regulating System Using Round-Robin Scheduling Algorithm
The sustainability of hydraulic turbines was one of the most important issues considered by electrical energy provider experts. Increased electromechanical oscillation damping is one of the key issues in the turbines sustainability. Electromechanical oscillations, if not quickly damp, can threaten the stability of hydraulic turbines and causes the separation of different parts of the netw...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- TinyToCS
دوره 2 شماره
صفحات -
تاریخ انتشار 2013